/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package lu.med.praxiswahl.wahlumed.service.beans.serviceinterface;

import lu.med.praxiswahl.wahlumed.model.beans.OrdonanceTemplateTBL;

/**
*
* @author Patrick kendzo
* Email: pkendzo@msn.com
*/
public interface OrdonanceTemplateServiceInt
{

	public static final int	RET_Ordonancen_NOT_FOUND	= 1;
	public static final int	RET_OPERATION_DONE_PROPERLY	= 0;
	public static final int	RET_OPERATION_FAILED		= 2;

	/* Liefert alle vorhandene Ordonancen eines Bestimmten Typs zur�ck */
	public Long[] getOrdonancenVorlagenBy_Typ(String typ);
	public OrdonanceTemplateTBL[] getOrdonancenVorlagenByTyp(String typ);
	public String getOrdonanceTemplateMainTxt(Long id);      
	public String getOrdonanceTemplateLabel(Long id);    
    public void getOrdonanceTemplate(Long id);
   // public OrdonanceTemplateTBL[] getAllOrdonanceTemplate();
    public int createTemplate(String label, String typ, String text);
	public int deleteTemplate(Long id);
	public void updateActualTemplate(Long id, String label, String text);
	public void getA_OrdonanceTemplateInstance(OrdonanceTemplateTBL tmpOrdTempl);
}
